﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 用户点赞
    /// </summary>
    [Table("sys_RedNewsUserPraise"), Comment("用户点赞"),Index(nameof(User),nameof(RedNewsId),IsUnique = true)]
    public class RedNewsUserPraise : EfEntity
    {
        /// <summary>
        /// 小红书Id
        /// </summary>
        [Comment("小红书Id")]
        public long RedNewsId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [Comment("用户ID")]
        public long User { get; set; }

        /// <summary>
        /// 点赞时间
        /// </summary>
        [Comment("点赞时间")]
        public DateTime CreateDate { get; set; }
    }
}
